package com.hntest.dao;

import com.hntest.entity.RealAuth;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface RealAuthDao {
    //分页前求总记录数
    public int getCounts(RealAuth realauth);

    //分页查当前页数据
    public List<RealAuth> getListByPage(Map map);

    //查询审核状态
    public List<RealAuth> getAllState();

    //根据id查找对应的审核
    public RealAuth getRealAuthById(int rid);

    //修改审核信息
    public int update(RealAuth realauth);
}
